/**
 * @desc
 * @author  刘贺[of2220]
 * @company qianmi.com
 * @Date    2017/2/11
 */
module.exports = (callback) => {
    let defererd = new $.Deferred();
    callback(defererd.resolve, defererd.reject);
    return defererd.promise();
};
